package com.caocaog.market.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.caocaog.market.entity.PageView;
import com.caocaog.market.mapper.PageViewMapper;
import com.caocaog.market.service.IPageViewService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * 访问量统计
 *
 * @author jeecg-boot
 * @date 2022-01-19
 */
@Service
@Transactional
@RequiredArgsConstructor
public class PageViewServiceImpl extends ServiceImpl<PageViewMapper, PageView> implements IPageViewService {


    @Override
    public List<Map<String, Object>> findVisitCountMiniApp() {
        return this.baseMapper.findVisitCountMiniApp();
    }
}
